package top.lshaci.learning.springboot.mybatisplus.mapper;

import org.apache.ibatis.annotations.Param;
import top.lshaci.learning.springboot.mybatisplus.entity.TableEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author lshaci
 * @since 2022-06-23
 */
public interface TableMapper extends BaseMapper<TableEntity> {


    List<TableEntity> selectByKeyword(@Param("keyword") String keyword);

    void updateRemarkById(@Param("id") Long id, @Param("remark") String remark);

}
